package com.center.biz.impl;

import com.center.api.model.EduPaperClass;
import com.center.api.remote.RemoteEduPaperClassService;
import com.center.biz.dao.EduPaperClassMapper;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service(version = "1.0",interfaceClass = RemoteEduPaperClassService.class)
public class RemoteEduPaperClassServiceImpl implements RemoteEduPaperClassService {

    @Autowired
    private EduPaperClassMapper eduPaperClassMapper;

    @Override
    public int save(EduPaperClass eduPaperClass) {
        return eduPaperClassMapper.insertSelective(eduPaperClass);
    }

    @Override
    public int update(EduPaperClass eduPaperClass) {
        return 0;
    }

    @Override
    public int delete(int id) {
        return 0;
    }

    @Override
    public List<EduPaperClass> select(EduPaperClass eduPaperClass) {
        return null;
    }

    @Override
    public EduPaperClass getById(int id) {
        return null;
    }
}
